home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 3 / ACE CD 3.iso / files / utils / cando12.dms / in.adf / HelpFiles / Graphics / CMD.DATA next >
Encoding:
Text File  |  1990-01-29  |  13.3 KB  |  508 lines

  1. |loadpicture|
  2. windowtitle `LoadPicture "filename" {, "Name" {, loadflags } }
  3. printlf `Preload an image.  The optional "Name"
  4. printlf `may be given for identification by other
  5. printlf `commands, otherwise "filename" will be
  6. printlf `used.  LoadFlags are described in the
  7. printlf `manual on page 7-7.
  8. print `SEE ALSO: `
  9. subject `ShowPicture`ShowPicture`
  10. print ` & `
  11. subject `SavePicture`SavePicture`
  12. end
  13.  
  14. |loadbrush|
  15. windowtitle `LoadBrush "filename" {, "Name" { , loadflags } }
  16. printlf `Preload a Brush.  The optional "Name"
  17. printlf `may be given for identification by other
  18. printlf `commands, otherwise "filename" will be
  19. printlf `used.  LoadFlags are described in the
  20. printlf `manual on page 7-7.
  21. print `SEE ALSO: `
  22. subject `ShowBrush`ShowBrush`
  23. print ` & `
  24. subject `SaveBrush`SaveBrush`
  25. end
  26.  
  27. |showpicture|
  28. windowtitle `ShowPicture "Picture Name"
  29. printlf `Change the displayed picture to "Picture
  30. printlf `Name".  The image is either already  pre-
  31. printlf `loaded, or will be loaded from a file on
  32. printlf `a disk.
  33. printlf
  34. print `SEE ALSO: `
  35. subject `LoadPicture`LoadPicture`
  36. print ` & `
  37. subject `SavePicture`SavePicture`
  38. end
  39.  
  40. |showbrush|
  41. windowtitle `ShowBrush "Brush Name",<x>,<y> {, BRUSHPALETTE }
  42. printlf `Display a brush at the given x and y
  43. printlf `coordinates.  The brush is either preloaded
  44. printlf `or will be loaded from a disk.  The color
  45. printlf `palette will change to the colors loaded
  46. printlf `with the brush if BRUSHPALETTE is indicated.
  47. print `SEE ALSO: `
  48. subject `LoadBrush`LoadBrush`
  49. print `, `
  50. subject `SaveBrush`SaveBrush`
  51. print ` & `
  52. subject `Transparent`Transparent`
  53. end
  54.  
  55. |transparent|
  56. windowtitle `Transparent  Â«logical expression»
  57. printlf `If the logical expression is TRUE or ON
  58. printlf `Then the given transparent color of a
  59. printlf `brush will be "see through."  Otherwise,
  60. printlf `if the expression is FALSE or OFF, then
  61. printlf `the transparent color will be opaque.`
  62. print `SEE ALSO: `
  63. subject `SetClipTransparentColor`SetClipTransparentColor`
  64. end
  65.  
  66. |clippicture|
  67. windowtitle `ClipPicture "Picture Name" { ,CHIP }
  68. printlf `Creates a copy of the current card's
  69. printlf `window.  If CHIP is indicated, the image
  70. printlf `will be stored in Chip memory.  The image
  71. printlf `can be used later with ShowPicture.
  72. printlf
  73. print `SEE ALSO: `
  74. subject `ShowPicture`ShowPicture`
  75. print ` & `
  76. subject `SavePicture`SavePicture`
  77. end
  78.  
  79. |clipbrush| 
  80. windowtitle `ClipBrush <x>,<y>,<width>,<height>,"Brush Name" { ,CHIP }
  81. printlf `Grabs a portion of the current card's
  82. printlf `window and stores it for future use.
  83. printlf `If CHIP is indicated the image will be
  84. printlf `stored in Chip memory.  The Brush can
  85. printlf `be displayed later using ShowBrush.
  86. print `SEE ALSO: `
  87. subject `ShowBrush`ShowBrush`
  88. print `, `
  89. subject `SaveBrush`SaveBrush`
  90. print ` & `
  91. subject `AreaCopy`AreaCopy`
  92. end
  93.  
  94. |setcliptranscol|
  95. windowtitle `SetClipTransparentColor <color>
  96. printlf `Sets the background color used in a
  97. printlf `clipped brush.  This color will be
  98. printlf `transparent, if Transparent is set ON,
  99. printlf `when displayed by ShowBrush.
  100. printlf `SEE ALSO: `
  101. print `   `
  102. subject `Transparent`Transparent`
  103. print ` & `
  104. subject `ShowBrush`ShowBrush`
  105. print ` & `
  106. subject `ClipBrush`ClipBrush`
  107. end
  108.  
  109. |savepicture|  
  110. windowtitle `SavePicture "Picture Name" {, "filename" }
  111. printlf `Save a Picture to disk.  If "filename"
  112. printlf `is given then the image will be saved with
  113. printlf `that name, otherwise it will be save with
  114. printlf `its original name, or with the "Picture
  115. printlf `Name."
  116. print `SEE ALSO: `
  117. subject `LoadPicture`LoadPicture`
  118. print ` & `
  119. subject `ClipPicture`ClipPicture`
  120. end
  121.  
  122. |savebrush| 
  123. windowtitle `SaveBrush "Brush Name" {, "filename" }
  124. printlf `Saves a brush image to disk.  This
  125. printlf `works like the SavePicture command.
  126. printlf
  127. printlf `SEE ALSO:`
  128. subject `LoadBrush`LoadBrush`
  129. print ` & `
  130. subject `ClipBrush`ClipBrush`
  131. print ` & `
  132. subject `SavePicture`SavePicture`
  133. end
  134.  
  135. |showpalette|
  136. windowtitle `ShowPalette "Name"
  137. printlf `Change the color palette to the palette
  138. printlf `loaded with the picture "Name".  The
  139. printlf `picture may have been preloaded, or
  140. printlf `the palette will be loaded from a file.
  141. printlf
  142. print `SEE ALSO: `
  143. subject `SetRGB`SetRGB`
  144. print ` & `
  145. subject `LoadPicture`LoadPicture`
  146. end
  147.  
  148. |areacircle|
  149. windowtitle `AreaCircle <x>,<y>,<r>
  150. printlf `Draw a filled Circle at position x,y with a
  151. printlf `radius of r.  The area color will come from
  152. printlf `PenA, set by the SetPen command.`
  153. printlf
  154. printlf `SEE ALSO: `
  155. subject `DrawCircle`DrawCircle`
  156. print ` & `
  157. subject `AreaEllipse`AreaEllipse`
  158. print ` & `
  159. subject `SetPen`SetPen`
  160. end
  161.  
  162. |areaellipse|
  163. windowtitle `AreaEllipse <x>,<y>,<xr>,<yr>
  164. printlf `Draw a filled ellipse with its center
  165. printlf `at x,y. <xr> is the horizontal radius
  166. printlf `and <yr> is the vertical radius.  The
  167. printlf `area color comes from PenA.
  168. printlf `SEE ALSO:`
  169. subject `DrawEllipse`DrawEllipse`
  170. print ` & `
  171. subject `AreaCircle`AreaCircle`
  172. print ` & `
  173. subject `SetPen`SetPen`
  174. end
  175.  
  176. |arearectangle| 
  177. windowtitle `AreaRectangle <x>,<y>,<w>,<h>
  178. printlf `Draw a filled rectangle with upper-left
  179. printlf `corner at <x>,<y> and with a width of
  180. printlf `<w> and height of <h>.  The area color
  181. printlf `is PenA, set by SetPen.
  182. printlf
  183. print `SEE ALSO: `
  184. subject `DrawRectangle`DrawRectangle`
  185. print ` & `
  186. subject `SetPen`SetPen`
  187. end
  188.  
  189. |floodfill|
  190. windowtitle `FloodFill <x>,<y>
  191. printlf `Fill a solid shape starting at <x>,<y>
  192. printlf `with color PenA.  The shape is determined
  193. printlf `by the color at <x>,<y>.
  194. printlf 
  195. print `SEE ALSO: `
  196. subject `FillToBorder`FillToBorder`
  197. print ` & `
  198. subject `SetPen`SetPen`
  199. end
  200.  
  201. |filltoborder| 
  202. windowtitle `FillToBorder <x>,<y>,<BorderColor>
  203. printlf `Fill a shape starting at <x>,<y> and all
  204. printlf `the area outlined by <BorderColor>.  It
  205. printlf `fills with PenA.
  206. printlf
  207. print `SEE ALSO: `
  208. subject `FloodFill`FloodFill`
  209. print ` & `
  210. subject `SetPen`SetPen`
  211. end
  212.  
  213. |drawcircle|
  214. windowtitle `DrawCircle <x>,<y>,<r>
  215. printlf `Draws a circle with its center at
  216. printlf `<x>,<y> and having a radius of <r>.
  217. printlf
  218. print `SEE ALSO: `
  219. subject `AreaCircle`AreaCircle`
  220. print ` & `
  221. subject `DrawEllipse`DrawEllipse`
  222. end
  223.  
  224. |drawellipse| 
  225. windowtitle `DrawEllipse <x>,<y>,<xr>,<yr>
  226. printlf `Draw an ellipse with its center at <x>,<y>
  227. printlf `<xr> is the horizontal radius and <yr> is
  228. printlf `the vertical radius.
  229. printlf
  230. print `SEE ALSO: `
  231. subject `AreaEllipse`AreaEllipse`
  232. print ` & `
  233. subject `DrawCircle`DrawCircle`
  234. end
  235.  
  236. |drawline|
  237. windowtitle `DrawLine <x1>,<y1>,<x2>,<y2>
  238. printlf `Draw a line from <x1>,<y1> to <x2>,<y2>.
  239. printlf
  240. print `SEE ALSO: `
  241. subject `DrawTo`DrawTo`
  242. print ` & `
  243. subject `MovePen`MovePen`
  244. end
  245.  
  246. |drawpixel|
  247. windowtitle `DrawPixel <x>,<y>
  248. printlf `Draws a single pixel at <x>,<y>.
  249. printlf
  250. print `SEE ALSO: `
  251. subject `MovePen`MovePen`
  252. print ` & `
  253. subject `SetPen`SetPen`
  254. end
  255.  
  256. |drawrectangle|
  257. windowtitle `DrawRectangle <x>,<y>,<w>,<h>
  258. printlf `Draw a rectangle with upper-left corner
  259. printlf `at <x>,<y> and with a width of <w> and a
  260. printlf `height of <h>.
  261. printlf
  262. print `SEE ALSO: `
  263. subject `AreaRectangle`AreaRectangle`
  264. end
  265.  
  266. |drawto|
  267. windowtitle `DrawTo <x>,<y>
  268. printlf `Draws a line from the current pen position
  269. printlf `to <x>,<y>.  The current pen position 
  270. printlf `becomes <x>,<y>.
  271. printlf
  272. print `SEE ALSO: `
  273. subject `RayTo`RayTo`
  274. print ` & `
  275. subject `MovePen`MovePen`
  276. print ` & `
  277. subject `DrawLine`DrawLine`
  278. end
  279.  
  280. |movepen|  
  281. windowtitle `MovePen <x>,<y>
  282. printlf `Move the current pen position to <x>,<y>
  283. printlf `without drawing.
  284. printlf
  285. print `SEE ALSO: `
  286. subject `DrawTo`DrawTo`
  287. print ` & `
  288. subject `RayTo`RayTo`
  289. end
  290.  
  291. |rayto|
  292. windowtitle `RayTo <x>,<y>
  293. printlf `Draws a line from the current pen position
  294. printlf `to <x>,<y> but leaving the pen position
  295. printlf `unaffected.
  296. printlf
  297. print `SEE ALSO: `
  298. subject `MovePen`MovePen`
  299. print ` & `
  300. subject `DrawTo`DrawTo`
  301. end
  302.  
  303. |clearwindow| 
  304. windowtitle `ClearWindow {<color>}
  305. printlf `Clears the Window to its initial state.
  306. printlf `If it is a picture window the image will
  307. printlf `be redisplayed.  If it is not a picture
  308. printlf `window, then it will be cleared to the
  309. printlf `window's background color or to the
  310. printlf `optional <color>.
  311. end
  312.  
  313. |getrgb| 
  314. windowtitle `GetRGB <col.reg>, <red var>, <green var>, <blue var>
  315. printlf `Assign the red, green, and blue components
  316. printlf `of color register <col.reg> to the three
  317. printlf `given variables.
  318. printlf
  319. print `SEE ALSO: `
  320. subject `SetRGB`SetRGB`
  321. print ` & `
  322. subject `SetPen`SetPen`
  323. end
  324.  
  325. |setareadrawmode| 
  326. windowtitle `SetAreaDrawMode NORMAL or OUTLINE
  327. printlf `The AreaDrawMode affects only Area commands.
  328. printlf `If set to the default of NORMAL then areas
  329. printlf `are drawn in a solid color using PenA.  If
  330. printlf `set to OUTLINE, the area is drawn with PenA
  331. printlf `and outlined with PenO.
  332. print `SEE ALSO: `
  333. subject `SetPen`SetPen`
  334. print ` & `
  335. subject `SetDrawMode`SetDrawMode`
  336. end
  337.  
  338. |setdrawmode|
  339. windowtitle `SetDrawMode {Normal} {Jam1} {Jam2} {Complement} {InverseVideo}
  340. printlf `The DrawMode affects how pixels are drawn
  341. printlf `by all drawing commands.  See the user's
  342. printlf `manual, Page 6-31, for a description of
  343. printlf `these modes.
  344. printlf
  345. print `SEE ALSO: `
  346. subject `SetAreaDrawMode`SetAreaDrawMode`
  347. print ` & `
  348. subject `SetPen`SetPen`
  349. end
  350.  
  351. |setpen|
  352. windowtitle `SetPen <penA> { ,<penb> { ,<penO> } }
  353. printlf `This command sets which color register is
  354. printlf `used by each of the three pens.  PenA must
  355. printlf `be set, while PenB and PenO are optional.
  356. printlf
  357. print `SEE ALSO: `
  358. subject `SetDrawMode`SetDrawMode`
  359. print ` & `
  360. subject `SetRGB`SetRGB`
  361. end
  362.  
  363. |setrgb|
  364. windowtitle `SetRGB <col.reg>, <red>, <green>, <blue>
  365. printlf `Assigns to color register <col.reg> the red,
  366. printlf `green and blue values given.  These values
  367. printlf `range from 0 to 255.
  368. printlf
  369. print `SEE ALSO: `
  370. subject `GetRGB`GetRGB`
  371. end
  372.  
  373. |cyclecolors|  
  374. windowtitle `CycleColors <from-Color>,<to-Color> {, FORWARD or BACKWARD }
  375. printlf `Cycle the current color palette.  The range
  376. printlf `is from <from-Color> to <to-Color>.  The
  377. printlf `direction is specified as either FORWARD
  378. printlf `or BACKWARD.  See page 6-32 in the user's
  379. printlf `manual for more details.
  380. end
  381.  
  382. |printtext|
  383. windowtitle `PrintText "string",<x>,<y>
  384. printlf `Prints the "string" using the current
  385. printlf `pen colors, print style, and font with
  386. printlf `the upper-left corner at <x>,<y>.
  387. printlf
  388. printlf `SEE ALSO: `
  389. subject `SetPrintStyle`SetPrintStyle`
  390. print ` & `
  391. subject `SetPrintFont`SetPrintFont`
  392. print ` & `
  393. subject `SetPen`SetPen`
  394. end
  395.  
  396. |setprintstyle|  
  397. windowtitle `SetPrintStyle StandardFlags {ExtendedFlags} {,<ExtPen1>{,<ExtPen2>}}
  398. printlf `See the User's Manual, Page 6-33 for
  399. printlf `a full description of the flags used
  400. printlf `by the PrintStyle.
  401. printlf
  402. print `SEE ALSO: `
  403. subject `SetPrintFont`SetPrintFont`
  404. print ` & `
  405. subject `PrintText`PrintText`
  406. end
  407.  
  408. |setprintfont|
  409. windowtitle `SetPrintFont "fontname", <pointsize>
  410. printlf `Set the print font to the font with
  411. printlf `the given name, and request the given
  412. printlf `point size.  If the font does not have
  413. printlf `that point size, the next smallest size
  414. printlf `will be used.
  415. print `SEE ALSO: `
  416. subject `SetPrintStyle`SetPrintStyle`
  417. print ` & `
  418. subject `PrintText`PrintText`
  419. end
  420.  
  421. |gettextdimensions|  
  422. windowtitle `GetTextDimensions "Text",Width-Variable,Height-Variable
  423. printlf `Sets the contents of the two variables to
  424. printlf `the width and height of the indicated text
  425. printlf `string in pixels, given the current
  426. printlf `PrintStyle, font, and point size. 
  427. printlf
  428. print `SEE ALSO: `
  429. subject `SetPrintFont`SetPrintFont`
  430. print ` & `
  431. subject `SetPrintStyle`SetPrintStyle`
  432. end
  433.  
  434. |areacopy|
  435. windowtitle `AreaCopy        Page # 1`
  436. printlf `AreaCopy <StartX>, <StartY>, <Width>,
  437. printlf `         <Height>, <DestinationX>,
  438. printlf `         <DestinationY>
  439. printlf
  440. print `SEE ALSO: NEXTPAGE, `
  441. nextpage `@`areacopy#2`
  442. subject `ClipBrush`ClipBrush`
  443. print ` & `
  444. subject `ShowBrush`ShowBrush`
  445. end
  446.  
  447. |areacopy#2|
  448. windowtitle `AreaCopy        Page # 2`
  449. printlf `Copies an area of the window with the upper`
  450. printlf `corner at StartX,StartY and of the given 
  451. printlf `Given Height and Width to the location with
  452. printlf `an upper corner at DestinationX,
  453. printlf `DestinationY.
  454. prevpage `@`areacopy`
  455. end
  456.  
  457. |areapolygon|
  458. windowtitle `AreaPolygon          Page # 1`
  459. printlf `AreaPolygon <X1>,<Y1>,<X2>,<Y2>,<X3>,<Y3>,
  460. printlf `    {<X4>,<Y4>,{<X5>, <Y5> {,<X6>, <Y6>}}}
  461. printlf
  462. print `SEE ALSO: NextPage,`
  463. nextpage `@`areapolygon#2`
  464. subject `DrawPolygon`DrawPolygon`
  465. printlf `.`
  466. end
  467.  
  468. |areapolygon#2|
  469. windowtitle `AreaPolygon          Page # 2`
  470. printlf `This allows you to draw a solid polygon
  471. printlf `with 3 to 6 vertices.  It uses the color
  472. printlf `in PenA.  The first 3 verticies are re-
  473. printlf `quired, the other 3 are optional.
  474. prevpage `@`areapolygon`
  475. end
  476.  
  477. |areascroll|
  478. windowtitle `AreaScroll                 Page # 1`
  479. printlf `AreaScroll <StartX>, <StartY>, <Width>,
  480. printlf `           <Height>, <DeltaX>, <DeltaY>
  481. printlf
  482. print `SEE ALSO: `
  483. subject `AreaCopy`AreaCopy`  
  484. printlf `.`
  485. nextpage `@`areascroll#2`
  486. end
  487.  
  488. |areascroll#2|
  489. windowtitle `AreaScroll                 Page # 2`
  490. printlf `Scrolls an area of the window with the
  491. printlf `upper corner at StartX, StartY and the
  492. printlf `specified Width and Height, and moving
  493. printlf `it by DeltaX, DeltaY.
  494. prevpage `@`areascroll`
  495. end
  496.  
  497. |drawpolygon|
  498. windowtitle `DrawPolygon  `
  499. printlf `DrawPolygon <X1>,<Y1>,<X2>,<Y2>,<X3>,<Y3>,
  500. printlf `      {<X4>,<Y4>,{<X5>,<Y5>,{<X6>,<Y6>}}}
  501. printlf
  502. printlf `Draws a polygon outline without filling.
  503. printlf `For more information about Polygons see
  504. subject `AreaPolygon`AreaPolygon`
  505. printlf `.`
  506. end
  507.  
  508.